package com.xhu.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
    * 销售效绩表
    */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "saleperform")
@Accessors(chain = true)
public class Saleperform {
    /**
     * 效绩id
     */
    @TableId(value = "saleperform_id", type = IdType.AUTO)
    private Integer saleperformId;

    /**
     * 员工id
     */
    @TableField(value = "emp_id")
    private String empId;

    /**
     * 部门id
     */
    @TableField(value = "dept_id")
    private Integer deptId;

    /**
     * 效绩等级
     */
    @TableField(value = "perform_level")
    private Integer performLevel;

    /**
     * 最后操作时间
     */
    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    private String updateTime;

    /**
     * 操作人
     */
    @TableField(value = "`operator`")
    private String operator;

    /**
     * 效绩编码
     */
    @TableField(value = "dept_code")
    private String deptCode;

    /**
     * 备注
     */
    @TableField(value = "des")
    private String des;

    /**
     * 逻辑删除
     */
    @TableLogic
    @TableField(value = "is_delete")
    private Byte isDelete;

    public static final String COL_SALEPERFORM_ID = "saleperform_id";

    public static final String COL_EMP_ID = "emp_id";

    public static final String COL_DEPT_ID = "dept_id";

    public static final String COL_PERFORM_LEVEL = "perform_level";

    public static final String COL_UPDATE_TIME = "update_time";

    public static final String COL_OPERATOR = "operator";

    public static final String COL_DEPT_CODE = "dept_code";

    public static final String COL_DES = "des";

    public static final String COL_IS_DELETE = "is_delete";
}